package router

import (
	"github.com/Sir-yuChen/funAnalyse/api"
	"github.com/Sir-yuChen/funAnalyse/global"
	"github.com/Sir-yuChen/funAnalyse/middleware"
	"github.com/gin-gonic/gin"
)

type HelloRouter struct{}

func (h HelloRouter) HelloGetRouter(Router *gin.RouterGroup) {
	helloRouter := Router.Group("/")
	c := api.ApiGroupApp.BasisApiGroup.HelloController
	{
		helloRouter.GET(global.API_HELLO.BasePath, middleware.CheckApiResourcesMiddleware(global.API_HELLO), c.Hello) // 获取用户信息
	}
}
